// import Login from "./views/login";
import Index from "./views/index/Index";
import {Switch, /*Route,*/BrowserRouter} from 'react-router-dom';
import {PrivateRouter} from "./privateRouter";

function App() {
    return (
        <BrowserRouter>
            <Switch>
                {/*<Route exact path={'/'} component={Login}/>*/}
                <PrivateRouter component={Index} path={'/'}/>
            </Switch>
        </BrowserRouter>
    );
}

export default App;
